package com.jims.master.modules.doctor.service;

import java.util.List;

import com.jims.master.modules.doctor.dao.LabResultDao;
import com.jims.master.modules.doctor.entity.LabResult;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jims.master.common.persistence.Page;
import com.jims.master.common.service.CrudService;
/**
 * Created by Future on 2017/7/27.
 */
@Service
@Transactional(readOnly = true)
public class LabResultService extends CrudService<LabResultDao, LabResult> {

    public LabResult get(String id) {
        return super.get(id);
    }

    public List<LabResult> findList(LabResult labResult) {
        return super.findList(labResult);
    }

    public Page<LabResult> findPage(Page<LabResult> page, LabResult labResult) {
        return super.findPage(page, labResult);
    }

    @Transactional(readOnly = false)
    public int save(LabResult labResult) {
        return super.save(labResult);
    }

    @Transactional(readOnly = false)
    public int delete(LabResult labResult) {
        return super.delete(labResult);
    }

}